package common.adventurecard.magicitem;

import common.Game;
import common.MagicItems;

public class Talisman extends MagicItems {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private final String name = "Talisman";

	@Override
	public boolean doStuff(final Game sg) {
		sg.addToLog(sg.getPlayer(sg.getCurrentPlayer()).getName()
				+ " has found a Talisman. Only with the fabled Talisman can you enter the Valley of Fire and reach the Crown of Command.\n");
		sg.getPlayer(sg.getCurrentPlayer()).setTalisman(true);
		return true;
	}

	@Override
	public String getName() {
		return this.name;
	}
}
